home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 5
/
Skunkware 5.iso
/
man
/
cat.n
/
label.n
< prev
next >
Wrap
Text File
|
1995-07-25
|
7KB
|
132 lines
llllaaaabbbbeeeellll((((nnnn)))) TTTTkkkk (((( )))) llllaaaabbbbeeeellll((((nnnn))))
_________________________________________________________________
NNNNAAAAMMMMEEEE
label - Create and manipulate label widgets
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
llllaaaabbbbeeeellll _p_a_t_h_N_a_m_e ?_o_p_t_i_o_n_s?
SSSSTTTTAAAANNNNDDDDAAAARRRRDDDD OOOOPPPPTTTTIIIIOOOONNNNSSSS
aaaannnncccchhhhoooorrrr bbbboooorrrrddddeeeerrrrWWWWiiiiddddtttthhhh ffffoooorrrreeeeggggrrrroooouuuunnnndddd rrrreeeelllliiiieeeeffff |
bbbbaaaacccckkkkggggrrrroooouuuunnnndddd ccccuuuurrrrssssoooorrrr ppppaaaaddddXXXX tttteeeexxxxtttt |
bbbbiiiittttmmmmaaaapppp ffffoooonnnntttt ppppaaaaddddYYYY tttteeeexxxxttttVVVVaaaarrrriiiiaaaabbbblllleeee |
See the ``options'' manual entry for details on the standard
options.
WWWWIIIIDDDDGGGGEEEETTTT----SSSSPPPPEEEECCCCIIIIFFFFIIIICCCC OOOOPPPPTTTTIIIIOOOONNNNSSSS
Name: hhhheeeeiiiigggghhhhtttt |
Class: HHHHeeeeiiiigggghhhhtttt |
Command-Line Switch: ----hhhheeeeiiiigggghhhhtttt |
||
Specifies a desired height for the label. If a bitmap |
is being displayed in the label then the value is in |
screen units (i.e. any of the forms acceptable to |
TTTTkkkk____GGGGeeeettttPPPPiiiixxxxeeeellllssss); for text it is in lines of text. If |
this option isn't specified, the label's desired height |
is computed from the size of the bitmap or text being |
displayed in it. |
Name: wwwwiiiiddddtttthhhh |
Class: WWWWiiiiddddtttthhhh |
Command-Line Switch: ----wwwwiiiiddddtttthhhh |
||
Specifies a desired width for the label. If a bitmap |
is being displayed in the label then the value is in |
screen units (i.e. any of the forms acceptable to |
TTTTkkkk____GGGGeeeettttPPPPiiiixxxxeeeellllssss); for text it is in characters. If this |
option isn't specified, the label's desired width is |
computed from the size of the bitmap or text being |
displayed in it.
_________________________________________________________________
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
The llllaaaabbbbeeeellll command creates a new window (given by the
_p_a_t_h_N_a_m_e argument) and makes it into a label widget.
Additional options, described above, may be specified on the
command line or in the option database to configure aspects
of the label such as its colors, font, text, and initial
relief. The llllaaaabbbbeeeellll command returns its _p_a_t_h_N_a_m_e argument.
Page 1 (printed 7/23/95)
llllaaaabbbbeeeellll((((nnnn)))) TTTTkkkk (((( )))) llllaaaabbbbeeeellll((((nnnn))))
At the time this command is invoked, there must not exist a
window named _p_a_t_h_N_a_m_e, but _p_a_t_h_N_a_m_e's parent must exist.
A label is a widget that displays a textual string or |
bitmap. The label can be manipulated in a few simple ways,
such as changing its relief or text, using the commands
described below.
WWWWIIIIDDDDGGGGEEEETTTT CCCCOOOOMMMMMMMMAAAANNNNDDDD
The llllaaaabbbbeeeellll command creates a new Tcl command whose name is
_p_a_t_h_N_a_m_e. This command may be used to invoke various
operations on the widget. It has the following general
form:
_p_a_t_h_N_a_m_e _o_p_t_i_o_n ?_a_r_g _a_r_g ...?
_O_p_t_i_o_n and the _a_r_gs determine the exact behavior of the
command. The following commands are possible for label
widgets:
_p_a_t_h_N_a_m_e ccccoooonnnnffffiiiigggguuuurrrreeee ?_o_p_t_i_o_n? ?_v_a_l_u_e _o_p_t_i_o_n _v_a_l_u_e ...?
Query or modify the configuration options of the
widget. If no _o_p_t_i_o_n is specified, returns a list
describing all of the available options for _p_a_t_h_N_a_m_e
(see TTTTkkkk____CCCCoooonnnnffffiiiigggguuuurrrreeeeIIIInnnnffffoooo for information on the format of
this list). If _o_p_t_i_o_n is specified with no _v_a_l_u_e, then
the command returns a list describing the one named
option (this list will be identical to the
corresponding sublist of the value returned if no
_o_p_t_i_o_n is specified). If one or more _o_p_t_i_o_n-_v_a_l_u_e
pairs are specified, then the command modifies the
given widget option(s) to have the given value(s); in
this case the command returns an empty string. _O_p_t_i_o_n
may have any of the values accepted by the llllaaaabbbbeeeellll
command.
BBBBIIIINNNNDDDDIIIINNNNGGGGSSSS
When a new label is created, it has no default event
bindings: labels are not intended to be interactive.
KKKKEEEEYYYYWWWWOOOORRRRDDDDSSSS
label, widget
Page 2 (printed 7/23/95)